
#pragma once

#ifndef _JobsManager_h_
#define _JobsManager_h_

#include "Job.h"

#include <set>

using namespace std;

#define JOBS set<Job>

class JobsManager
{
public:
	JobsManager();
	~JobsManager();

private:
	JOBS m_cJobs;

public:
	bool InitManager(void);

	bool Addition(const Job & job);
	bool Delete(const int & jobCode);
	bool Modification(const int & jobCode, const Job & job);

	bool Save(void);
private:
	bool LoadFile(void);
	bool SaveFile(void);
};

#endif 